package com.zhuhanpeng.cloud.api.service;

import com.zhuhanpeng.cloud.api.entity.ApiUserEntity;
import com.zhuhanpeng.cloud.api.entity.SearchApiUserEntity;
import com.zhuhanpeng.cloud.mybatis.entity.PtUserEntity;
import com.zhuhanpeng.cloud.mybatis.flexigrid.PagingEntity;

import java.util.List;

public interface ApiService {
    List<PtUserEntity> queryUserInfo(SearchApiUserEntity entity, PagingEntity pagingEntity);

    Integer queryUserInfoTotal(SearchApiUserEntity entity);

    ApiUserEntity queryUserByNameAndPassword(String userName, String password);
}